package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.linkhub.oms.common.enums.mp.DataStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author echo
 * @since 2024-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_user")
@ApiModel(value="UserEntity对象", description="用户表")
public class UserEntity implements Serializable {


    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("Fuser_id")
    private String userId;

    @ApiModelProperty(value = "邮箱")
    @TableField("Femail")
    private String email;

    @ApiModelProperty(value = "用户名")
    @TableField("Fuser_name")
    private String userName;

    @ApiModelProperty(value = "密码")
    @TableField("Fpassword")
    private String password;

    @ApiModelProperty(value = "国家数字码（如中国86）")
    @TableField("Fcountry_digital_code")
    private String countryDigitalCode;

    @ApiModelProperty(value = "手机号码（不含国家码）")
    @TableField("Fphone")
    private String phone;

    @ApiModelProperty(value = "数据状态：1-有效；0-无效")
    @TableField("Fdata_status")
    private DataStatusEnum dataStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("Fupdate_time")
    private LocalDateTime updateTime;


}
